// const req = 'https://dqc.zzzsyh.com'
// const req = 'http://192.168.2.188:8389'
const req = 'https://xcx.zzzsyh.com'

const allapi = {
	loginCodeFactory: req + '/applet/zsyh/factory/loginCodeFactory?', // 厂家登陆 -- 手机号验证码
	loginPasswordFactory: req + '/applet/zsyh/factory/loginPasswordFactory?', // 厂家登陆 -- 手机号密码
	sendSMS: req + '/applet/zsyh/agentinfo/sendSMS?', // 发送短信
	registerFactory: req + '/applet/zsyh/factory/registerFactory?', // 厂家注册
	registerFactoryAgain: req + '/applet/zsyh/factory/registerFactoryAgain?', // 厂家注册 驳回重新注册
	forgetFactoryPassword: req + '/applet/zsyh/factory/forgetFactoryPassword?', // 忘记密码，修改密码
	upload: req + '/common/upload?', // 单图上传
	getFactoryOrderList: req + '/applet/zsyh/partsFactory/getFactoryOrderList?', // 获取产品订单列表
	getFactoryOrderDetails: req + '/applet/zsyh/partsFactory/getFactoryOrderDetails?', // 获取订单详情
	saveOrderData: req + '/applet/zsyh/partsFactory/saveOrderData?', // 保存订单数据
	generateDeliverOrder: req + '/applet/zsyh/partsFactory/generateDeliverOrder?', // 去接单
	getFactoryBankCardsDefault: req + '/applet/zsyh/partsFactory/getFactoryBankCardsDefault?', // 获取厂家银行默认账户
	deleteOrderPartsById: req + '/applet/zsyh/partsFactory/deleteOrderPartsById?', // 删除订单的产品信息
	confirmDeliverOrder: req + '/applet/zsyh/partsFactory/confirmDeliverOrder?', // 确认发货
	getFactoryBankCards: req + '/applet/zsyh/partsFactory/getFactoryBankCards?', // 获取厂家银行账户列表
	deleteFactoryBankCards: req + '/applet/zsyh/partsFactory/deleteFactoryBankCards?', // 删除厂家银行账户
	getFactoryBankTypeList: req + '/applet/zsyh/partsFactory/getFactoryBankTypeList?', // 获取银行名称列表
	saveFactoryBankCards: req + '/applet/zsyh/partsFactory/saveFactoryBankCards?', // 添加银行账户
	getPartsListByFactoryId: req + '/applet/zsyh/partsFactory/getPartsListByFactoryId?', // 获取此厂家下所有产品规格
	savePartsAttributeToOrder: req + '/applet/zsyh/partsFactory/savePartsAttributeToOrder?', // 添加产品
	getFactoryId: req + '/applet/zsyh/factory/getFactoryId?', // 获取厂家信息
	getWxOpenId: req + '/applet/zsyh/wxpay/getWxOpenId?', // 获取openId
	wxPayAppletsFactoryRecharge: req + '/applet/zsyh/wxpay/wxPayAppletsFactoryRecharge?', // 厂家余额充值
	getFactoryPartsList: req + '/applet/zsyh/partsFactory/getFactoryPartsList?', // 获取合作产品
	getFactoryPartsAttributeList: req + '/applet/zsyh/partsFactory/getFactoryPartsAttributeList?', // 根据产品id获取全部型号
	getFactoryPartsDetails: req + '/applet/zsyh/partsFactory/getFactoryPartsDetails?', // 获取产品详情
	updatePartsInstructions: req + '/applet/zsyh/partsFactory/updatePartsInstructions?', // 完善产品说明
	getMoneyAllByFactoryId: req + '/applet/zsyh/partsFactory/getMoneyAllByFactoryId?', // 获取厂家首页累计金额
	getFactorySalesVolume: req + '/applet/zsyh/partsFactory/getFactorySalesVolume?', // 获取销售额
	getFactorySalesVolumeAgent: req + '/applet/zsyh/partsFactory/getFactorySalesVolumeAgent?', // 获取销售额 单个商品对应的管理商
	getFactorySalesVolumeOrderRel: req + '/applet/zsyh/partsFactory/getFactorySalesVolumeOrderRel?', // 获取销售额 单个商品，单个管理商对应的订单详情
	getFactoryMoneyDetails: req + '/applet/zsyh/factory/getFactoryMoneyDetails?', // 获取厂家质保押金明细，补助金明细
	getPlatformUserList: req + '/applet/zsyh/partsFactory/getPlatformUserList?', // 获取平台客户列表
	getPlatformUserOrderList: req + '/applet/zsyh/partsFactory/getPlatformUserOrderList?', // 获取平台客户发货记录
	applyQrCodeFactoryId: req + '/applet/zsyh/partsFactory/applyQrCodeFactoryId?', // 申请二维码标签
	getQrCodeHistoryList: req + '/applet/zsyh/partsFactory/getQrCodeHistoryList?', // 获取二维码申请记录列表
	getAreaByPid: req + '/applet/zsyh/agentAddress/getAreaByPid?', // 获取省市县
	updateFactory: req + '/applet/zsyh/factory/updateFactory?', // 修改厂家信息
	getQrCodeApplyListByFactoryId: req + '/applet/zsyh/partsQrcode/getQrCodeApplyListByFactoryId?', // 厂家查看补助金列表
	getQrCodeApplyDetails: req + '/applet/zsyh/partsQrcode/getQrCodeApplyDetails?', // 获取补助金申请详情
}

export default allapi;